package com.bsoft.exchange.domain;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * 检验报告
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "LabReportList")
@Data
public class InspectionListDomain implements Serializable {

    /**
     * 患者主索引号
     */
    @XmlElement(name = "MpiId")
    private String mpild;

    /**
     * 患者交叉索引号
     */
    @XmlElement(name = "PatientId")
    private String patientId;

    /**
     * CDR就诊唯一号
     */
    @XmlElement(name = "VisitId")
    private String visitId;

    /**
     * HIS就诊流水号
     */
    @XmlElement(name = "SourceVisitId")
    private String sourceVisitId;

    /**
     * 就诊机构代码
     */
    @XmlElement(name = "AuthorOrganization")
    private String authorOrganization;

    /**
     * 患者类型
     */
    @XmlElement(name = "PatientType")
    private String patientType;

    /**
     * 门（急）诊号
     */
    @XmlElement(name = "ClinicId")
    private String clinicId;

    /**
     * 住院号
     */
    @XmlElement(name = "HospizationId")
    private String hospizationId;

    /**
     * 文档唯一号
     */
    @XmlElement(name = "DCId")
    private String dCId;

    /**
     * 检验标本号
     */
    @XmlElement(name = "SampleNo")
    private String sampleNo;

    /**
     * 条码号
     */
    @XmlElement(name = "BarcodeNo")
    private String barcodeNo;

    /**
     * 患者姓名
     */
    @XmlElement(name = "Name")
    private String name;

    /**
     * 性别代码
     */
    @XmlElement(name = "Sex")
    private String sex;

    /**
     * 年龄
     */
    @XmlElement(name = "Age")
    private Integer age;

    /**
     * 科室名称
     */
    @XmlElement(name = "DeptName")
    private String deptName;

    /**
     * 检验项目名称
     */
    @XmlElement(name = "LabOrdersItemName")
    private String labOrdersItemName;

    /**
     * 报告时间
     */
    @XmlElement(name = "ReportDateTime")
    private String reportDateTime;

    /**
     * 报告审核时间
     */
    @XmlElement(name = "ReportReviewTime")
    private String reportReviewTime;

    /**
     * 报告类型
     */
    @XmlElement(name = "ReportType")
    private Integer reportType;

    /**
     * 打印标志
     */
    @XmlElement(name = "PrintFlag")
    private Integer printFlag;

    private RegularReportDomain regularReportDomain;

    private MicrobiologyReportDomain microbiologyReportDomain;
}
